#!/isr/bin/python
#coding:utf-8

import get_mail
from time import sleep


g = get_mail.GetMail()

g.get_mail('127.0.0.1')
for x in xrange(20):
    g.check_mail()
    
    sleep(30)